package com.ckx.feign;

import com.ckx.feign.fallback.QQApiFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "qq", url = "http://82.156.208.74", fallbackFactory = QQApiFallback.class)
public interface QQApi {

    @GetMapping("/")
    String get();

}
